import request from '@/utils/request'
//项目列表（结算/未结算
export function contract_list_all(dat) {
  return request({
    url: '/market/contract/contract_list_all',
    method: 'post',
    data:{
      fuze_uid:dat.fuze_uid,
      peihe_uid:dat.peihe_uid,
      page:dat.page,
      limit:dat.limit,
      keyword:dat.keyword,
      search_time:dat.searchTime,
    }
  })
}
//合同详情
export function contract_detail(contract_id) {
  return request({
    url: '/market/contract/contract_detail',
    method: 'post',
    data:{
      contract_id
    }
  })
}
//合同作废
export function contract_cancel(contract_id) {
  return request({
    url: '/market/contract/contract_cancel',
    method: 'post',
    data:{
      contract_id
    }
  })
}
//用户下拉搜索
export function user_select_list(keyword) {
  return request({
    url: '/market/system/user_select_list',
    method: 'post',
    data:{
      keyword
    }
  })
}
//用户下拉搜索
export function contract_check(contract_id,check_status) {
  return request({
    url: '/market/contract/contract_check',
    method: 'post',
    data:{
      contract_id,
      check_status
    }
  })
}
